package com.maimang.platform.common.entity;

import com.maimang.platform.base.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 文件播放顺序表 sys_file_play
 *
 * @author Rocky
 * @date 2019-01-19
 */
public class SysFilePlay extends BaseEntity {
	private static final long serialVersionUID = 1L;

	/**
	 * 文件播放ID
	 */
	private Long playId;
	/**
	 * 通道编码
	 */
	private Long channelCode;
	/**
	 *
	 */
	private Long fileId;
	private String fileName;
	/**
	 * 0 图片 1 视频 2 文字
	 */
	private String types;
	/**
	 * 后缀
	 */
	private String suffix;
	/**
	 *
	 */
	private String url;
	/**
	 *
	 */
	private String content;
	/**
	 * 播放顺序
	 */
	private Integer orderNum;

	public Long getPlayId() {
		return playId;
	}

	public void setPlayId(Long playId) {
		this.playId = playId;
	}

	public Long getChannelCode() {
		return channelCode;
	}

	public void setChannelCode(Long channelCode) {
		this.channelCode = channelCode;
	}

	public Long getFileId() {
		return fileId;
	}

	public void setFileId(Long fileId) {
		this.fileId = fileId;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public String getTypes() {
		return types;
	}

	public void setTypes(String types) {
		this.types = types;
	}

	public String getSuffix() {
		return suffix;
	}

	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
				.append("playId", getPlayId())
				.append("channelCode", getChannelCode())
				.append("fileName", getFileName())
				.append("types", getTypes())
				.append("suffix", getSuffix())
				.append("url", getUrl())
				.append("content", getContent())
				.append("orderNum", getOrderNum())
				.append("remark", getRemark())
				.toString();
	}
}
